import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import {GITEE_SHAOBUFAN} from "@/constants";
const Footer: React.FC = () => {
  const defaultMessage = '陈少羿用户中心项目出品';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: 'gitee',
          title: <><GithubOutlined /> 少不钒的gitee</>,
          href: GITEE_SHAOBUFAN,
          blankTarget: true,
        }
      ]}
    />
  );
};
export default Footer;
